<template>
  <van-nav-bar
      title="关于我们"
      style="width: 400px"
      left-text="返回"
      left-arrow
      @click-left="onClickLeft"
  />
  <div class="help-center">
    <van-cell-group>
      <van-cell title="建筑考研汪" icon="build"  @click.native="openUpdate" />
      <van-cell title="检查更新" is-link @click.native="openUpdate" />
      <van-cell title="合作洽谈" is-link @click.native="openCooperation"/>
        <van-popup v-model:show="show" :style="{ padding: '64px' }">
          合作请联系：
          张总：136*******1
          陈总：136*******2
          彭总：136*******3
        </van-popup>
      <van-cell title="申请举报" is-link @click.native="openReport" />
      <van-cell title="客服热线" is-link @click.native="openHotline" />
    </van-cell-group>
  </div>
</template>

<script setup>
import {useRouter} from "vue-router";
const router = useRouter();
import {ref} from "vue";
const onClickLeft = () => {
  router.push("/systemSettings");
  // 返回按钮逻辑
};
const show = ref(false);
const openUpdate = () => {
  alert("暂无更新")
};
const openCooperation = () => {
    show.value = true;
};
const openReport = () => {
  alert("举报热线：12345678901")
};
const openHotline = () => {
  alert("客服热线：12345678901")
};
</script>

<style scoped>

</style>